package com.example.ymm.modules1.entity.hl.ex;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 团队成员
 */

@Data
public class ExTeamUser implements Serializable {

    @TableId
    private String id;

    String userId;


    private String userName;

    String teamId;

    @TableField(exist = false)
    String teamName;

    Integer score;//分数

    @TableField(exist = false)
    Integer num;//虚拟排行

    Integer sort;//

    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;

    @TableField(exist = false)
    boolean currentUser;

    @TableField(exist = false)
    ExTeam team;

}
